class CreateLogs < ActiveRecord::Migration
  def self.up
    create_table :logs do |t|
      t.string :type,:null =>false
      t.string :name,:null =>false
      t.string :desc,:null =>true
      t.string :sid,:null =>false
      t.timestamps
    end
  end

  def self.down
    drop_table :logs
  end
end
